<template>
    <div id="app" :key="$route.fullPath">
      <keep-alive>
        <router-view :key="$route.fullPath"/>
      </keep-alive>
      <Footer v-if="$route.meta.showFooter"/>
    </div>
</template>

<script>
import Footer from './views/common/Footer'
export default {
  name: 'App',
  components: {
    Footer
  }
}
</script>

<style lang="stylus">
  html, body
    background #f5f5f5
    min-height 100vh
</style>
